<template>
 <div>
  御剑乘风来,除魔天地间!===father3==={{num}}==={{n}}==={{ff}}
 <Son3></Son3>
 </div>
</template>
<script>
import Son3 from './Son3.vue'

export default{
   components:{Son3},
    name:'',
    inject:['num','n'],
    provide(){
      return{
        ff:this.ff,
        say:this.handelF
      }
    },
    data () {
        return {
          ff:'我是爷爷,我要传给孙子'
        }
    },
    created () {
    },
    computed:{
    },
    methods:{
       handelF(e){
        this.ff=e

            
          }
    }
}
</script>
<style lang='less'  scoped>
    
</style>
